@foreach(IGrouping<string, IDocument> typeGroup 
    in Documents.FromPipeline(Docs.Api)
        .Where(x => x.Bool("IsResult") && x["Kind"].Equals("NamedType") && x.Document("ContainingAssembly") == Model)
        .GroupBy(x => x.String("SpecificKind"))
        .OrderBy(x => x.Key))
{
    @Html.Partial("Section\\_DocsTable", new DocsTable
    {
        Docs = typeGroup.OrderBy(x => x["DisplayName"]).ToList(),
        Title = typeGroup.Key + " Types",
        Header = typeGroup.Key,
        HasSummary = true
    });		
}